package org.xg.study.pd.model.vo;

import com.alibaba.fastjson.JSONObject;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author CMG
 * @version 1.0
 * @className TreeRoot
 * @description 树根信息
 * @date 2021/9/14 21:36
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TreeRoot {
    /**
     * 规则树ID
     */
    private Long treeId;
    /**
     * 规则树根ID
     */
    private Long treeRootNodeId;
    /**
     * 规则树名称
     */
    private String treeName;

    @Override
    public String toString() {
        return JSONObject.toJSONString(this);
    }
}
